package com.neuedu.shixun.hospital2.service.Impl;

import com.neuedu.shixun.hospital2.entity.Pbam;
import com.neuedu.shixun.hospital2.repository.PbamRepository;
import com.neuedu.shixun.hospital2.service.PbamService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class PbamServiceImpl implements PbamService{
    @Autowired
    private PbamRepository pbamRepository;
    @Override
    public Pbam save(Pbam pbam) {
        return pbamRepository.save(pbam);
    }
}
